
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
	<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Minimal and Clean Sign up / Login and Forgot Form by FreeHTML5.co</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="Free HTML5 Template by FreeHTML5.co" />
	<meta name="keywords" content="free html5, free template, free bootstrap, html5, css3, mobile first, responsive" />
	

  

  	<!-- Facebook and Twitter integration -->
	<meta property="og:title" content=""/>
	<meta property="og:image" content=""/>
	<meta property="og:url" content=""/>
	<meta property="og:site_name" content=""/>
	<meta property="og:description" content=""/>
	<meta name="twitter:title" content="" />
	<meta name="twitter:image" content="" />
	<meta name="twitter:url" content="" />
	<meta name="twitter:card" content="" />

	<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
	<link rel="shortcut icon" href="favicon.ico">

	<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300' rel='stylesheet' type='text/css'>
	
	<link rel="stylesheet" href="__CSS__/bootstrap.min.css">
	<link rel="stylesheet" href="__CSS__/animate.css">
	<link rel="stylesheet" href="__CSS__/style1.css">
		<script src="__JS__/jquery-1.11.3.js"></script>
		<script src="__JS__/layer/layer.js"></script>
		<script src="__JS__/jquery.validate.js"></script>
		<script src="__JS__/messages_zh.js"></script>
	<!-- Modernizr JS -->
	<script src="__JS__/modernizr-2.6.2.min.js"></script>
	<!-- FOR IE9 below -->
	<!--[if lt IE 9]>
	<script src="__JS__/respond.min.js"></script>
	<![endif]-->

	</head>
	<body class="style-2">

		<div class="container">
			<div class="row">
				<div class="col-md-12 text-center"></div>
			</div>
			<div class="row">
				<div class="col-md-4">


					<!-- Start Sign In Form -->
					<form action="{:url('Register')}" class="fh5co-form animate-box" data-animate-effect="fadeIn" method="post" id="form">
						<h2>注册</h2>
						<div class="form-group"></div>
						<div class="form-group">
							<label for="name" class="sr-only">用户名</label>
							<input type="text" class="form-control" id="name" placeholder="用户名" name="username" autocomplete="off">
						</div>
						<div class="form-group">
						<label for="password" class="sr-only">用户密码</label>
						<input type="password" class="form-control" id="password" placeholder="用户密码" name="password" autocomplete="off">
					    </div>
						<div class="form-group">
						<label for="re-password" class="sr-only">再次输入密码</label>
						<input type="password" class="form-control" id="re-password" placeholder="在次输入密码" name="re_password" autocomplete="off">
					    </div>
						<div class="form-group">
							<label for="email" class="sr-only">邮箱</label>
							<input type="email" class="form-control" id="email" placeholder="邮箱" name="email" autocomplete="off">
						</div>
						<div class="form-group">
							<label for="remember"><input type="checkbox" id="remember">记住密码</label>
						</div>
						<div class="form-group">
							<p>已经注册? <a href="../Index/index.html">登录</a></p>
						</div>
						<div class="form-group">
							<input type="submit" value="注册" class="btn btn-primary">
						</div>
					</form>
					<!-- END Sign In Form -->

				</div>
			</div>
			<div class="row" style="padding-top: 60px; clear: both;">
				<div class="col-md-12 text-center"><p><small>&copy; All Rights Reserved. More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">平行--生态旅游网</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">生态旅游网</a></small></p></div>
			</div>
		</div>
	
	<!-- jQuery -->
	<script src="__JS__/jquery.min.js"></script>
	<!-- Bootstrap -->
	<script src="__JS__/bootstrap.min.js"></script>
	<!-- Placeholder -->
	<script src="__JS__/jquery.placeholder.min.js"></script>
	<!-- Waypoints -->
	<script src="__JS__/jquery.waypoints.min.js"></script>
	<!-- Main JS -->
	<script src="__JS__/main.js"></script>

	</body>
</html>
<script>
	jQuery.validator.addMethod("isZipCode", function(value, element) {
		var tel = /^[0-9]{6}$/;
		return this.optional(element) || (tel.test(value));
	}, "请正确填写您的邮政编码");
	$(function() {
		$("#form").validate({
			rules: {
				username: {
					required: true,
					minlength: 3
				},isZipCode:{
					isZipCode: true
				},password: {
					required: true,
					minlength: 3
				}
			}, messages: {
				username: {
					required: "---这是必填字段---",
					minlength: "---最少写5个字段---"
				}, password: {
					required: "---必填字段---",
					minlength: "---最少填3个字段---"
				}
			}
		})
	});
</script>
